#ifndef LED_H
#define LED_H

#include <QWidget>
#include <QFile>

namespace Ui {
class led;
}

class led : public QWidget
{
    Q_OBJECT

public:
    explicit led(QWidget *parent = nullptr);
    ~led();

private slots:
    void on_backbt_clicked();

    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

private:
    Ui::led *ui;

    QFile file;

    void getLedState();
};

#endif // LED_H
